/**
 * @file heart_rate.h
 *
 */
#ifndef HEARTRATE_H
#define HEARTRATE_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      INCLUDES
 *********************/

#ifdef LV_CONF_INCLUDE_SIMPLE
#include "lvgl.h"
#include "lv_ex_conf.h"
#else
#include "../../../lvgl/lvgl.h"
#include "../../../lv_ex_conf.h"
#endif

#if USE_LV_WATCH_HEART_RATE != 0

/*********************
 *      DEFINES
 *********************/

/**********************
 *      TYPEDEFS
 **********************/

/**********************
 * GLOBAL PROTOTYPES
 **********************/
lv_obj_t * heart_rate_create(lv_obj_t * activity_obj);
void heart_rate_create_event_cb(lv_obj_t * btn, lv_event_t e);
#if USE_LV_WATCH_LAUNCHER2 != 0
void heart_rate_create_tab(lv_obj_t * par);
void heart_rate_destroy_tab(lv_obj_t * tab);
#endif
/**********************
 *      MACROS
 **********************/

#endif /*USE_LV_WATCH_HEART_RATE*/

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /*HEART_RATE_H*/
